const os = require('os')
var wifi = require('node-wifi')

wifi.init({
  iface: null 
})

wifi.scan(function (err, networks) {
  if (err) {
    console.log(err)
  } else {
    console.log(networks)
  }
})
